﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
	<xsl:output method="text" indent="yes"/>
	<xsl:param name="name"></xsl:param>

	<xsl:template match="/info/entry">
		<xsl:text disable-output-escaping="yes">
			&lt;#@ template language="c#" #&gt;
			&lt;#@ import namespace="System.Globalization" #&gt;
		</xsl:text>
		using System;


		namespace Mailer.Utilities
		{
		internal class Misc
		{

		internal static int Revision
		{
		get
		{
		return <xsl:value-of select="@revision"/>;
		}
		}

		internal static string BuildDate
		{
		get
		{
		<xsl:text disable-output-escaping="yes">
			return &quot;&lt;#= DateTime.Now.ToString( new CultureInfo( &quot;sv-SE&quot; ) ) #&gt;&quot;;

		</xsl:text>

		}
		}


		}
		}
	</xsl:template>

</xsl:stylesheet>
